/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.previous_flow.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.thinkgem.jeesite.modules.previous_flow.entity.PreviousFlow;
import com.thinkgem.jeesite.modules.previous_flow.dao.PreviousFlowDao;

/**
 * 记录上次流量数据Service
 * @author xlp
 * @version 2019-05-20
 */
@Service
@Transactional(readOnly = true)
public class PreviousFlowService extends CrudService<PreviousFlowDao, PreviousFlow> {

	public PreviousFlow get(String id) {
		return super.get(id);
	}
	
	public List<PreviousFlow> findList(PreviousFlow previousFlow) {
		return super.findList(previousFlow);
	}
	
	public Page<PreviousFlow> findPage(Page<PreviousFlow> page, PreviousFlow previousFlow) {
		return super.findPage(page, previousFlow);
	}
	
	@Transactional(readOnly = false)
	public void save(PreviousFlow previousFlow) {
		super.save(previousFlow);
	}
	
	@Transactional(readOnly = false)
	public void delete(PreviousFlow previousFlow) {
		super.delete(previousFlow);
	}
	
}